export function intercept(content: string, length: number) {
  if (!content) {
    return ''
  }
  const newStr = content.substr(0, length)
  return `${newStr}...`
}
